import React from 'react';
import {PageLoader} from '@/utils/store';

const HomePage = PageLoader({
	loader: () => import(/* webpackChunkName: "page-home" */ './main'),
	reducer: {
		home: () => import(/* webpackChunkName: "page-home" */ './state'),
	},
});

// 页面入口
export default (props: any) => <HomePage {...props} />;
